import request from '../utils/request.js'
export const register = data => {
  return request.post('/h5/user/register', data)
}
export const login = data => {
  return request.post('/h5/user/login', data)
}
export const getUserInfo = () => {
  return request.get('/h5/user/currentUser')
}
